<template>
  <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="gr"
      label="分厂"
    >
    </el-table-column>
    <el-table-column
      prop="red"
      label="红灯率"
      >
    </el-table-column>
    <el-table-column
      prop="yellow"
      label="黄灯率">
    </el-table-column>
    <el-table-column
      prop="green"
      label="绿灯率">
    </el-table-column>
    <el-table-column
      prop="wft"
      label="线上WFT">
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  name: 'LeftTable',
  data () {
    return {
      tableData: [{
        gr: '苏州工厂',
        red: '2.86%',
        yellow: '14.08%',
        green: '14.08%',
        wft: '0%'
      }, {
        gr: '苏州工厂',
        red: '2.86%',
        yellow: '14.08%',
        green: '14.08%',
        wft: '0%'
      }]
    }
  }
}
</script>
